<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php $this->load->helper('url'); ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Login to Projectcode</title>
        <meta name="description" content="" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascripts/loginvalidator.js"></script>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheets/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheets/globals.css" media="screen" />
    </head>
    <body>



        <form id="login" method="post" action="<?php echo site_url('login/go') ?>"> 

            <h1>Log in to your <strong>ProjectCode</strong> account!</h1>


            <div>
                <label for="login_username">Username<sup>*</sup></label> 
                <input type="text" name="username" id="login_username" class="field required" title="Please provide your username" />
            </div>			

            <div>
                <label for="login_password">Password<sup>*</sup></label>
                <input type="password" name="password" id="login_password" class="field required" title="Password is required" />
            </div>			

            <p class="forgot"><a href="#">Forgot your password?</a></p>

            <div class="submit">
                <button type="submit" id="formsubmit">Log in</button>   

                <label>
                    <input type="checkbox" name="remember" id="login_remember" value="yes" />
                    Remember my login on this computer
                </label>   
            </div>

            <p class="back">Not a member? <a href="<?php echo site_url('login/register') ?>">Register here!</a></p>

            <p class="loginerror">
                <?php
                if (isset($login_error)) {
                    echo $login_error;
                }
                ?>
            </p>

        </form>	

    </body>
</html>


